//
//  MYLoginBaseVC.h
//  MuYing
//
//  Created by tbb on 2019/7/19.
//  Copyright © 2019 TBB. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JXCategoryView.h"
NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, LoginOrRegisterType) {
    LoginOrRegisterTypeLogin,
    LoginOrRegisterTypeRegister,
};

@interface MYLoginBaseVC : YQMYBaseTableViewController<JXCategoryListContentViewDelegate>
@property (nonatomic, assign) LoginOrRegisterType showType;

- (nonnull UITableViewCell *)tableView:(nonnull UITableView *)tableView cellForRowAtIndexPath:(nonnull NSIndexPath *)indexPath;
- (void)sendCodeClick:(UIButton *)button;
@property (nonatomic, assign) NSInteger selectOperateType;//1为手机号，2.为邮箱或用户名

//二者需一一对应
@property (nonatomic, copy) NSString * defaultLocale;
@property (nonatomic, copy) NSString * mobileAreaCode;
@property (nonatomic, strong) UIButton * codeButton;
@property (nonatomic, strong) UITextField * codeTextField;
-(void)selectPhoneAreaCode;
@end

NS_ASSUME_NONNULL_END



